<h1>Taxa de Ocupacao</h1>
<hr/>

<% if @taxa %>
	<p>
		<b>Taxa de Ocupacao</b>: <%= @taxa %>
	</p>
<% end %>

<%= form_tag(:controller => "consultas", :action => "taxa_ocupacao", :method => "get") do %>
	<%= label_tag :data_busca, "Data de consulta" %>
	<%= select_date Date.today, :prefix => :data_busca %>
	<%= submit_tag "Verificar Ocupacao" %>
<% end %>